<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	tr.content{font-size: 12px;}
	tr.sub{font-size: 13px }
</style>
</head>
<body>
	<center>
	<br>
	<!-- 
	<s:a theme="ajax" targets="center1" formId="SawonDeptList" showLoadingText="false"> 
				<select size="1">
					<option>&nbsp;&nbsp;전체 목록&nbsp;&nbsp;</option>
						<s:iterator value="dlist">
					<option value="${dname }">${dname }</option>
						</s:iterator>
				</select>&nbsp;
			</s:a>
	
	 -->
	
	

	<br>
	<form action="/ssteam/admin/deptSerch.do" method="post" id="SawonDeptList">
	<table border=0 width=700>
		<tr valign="top" height="50">
			<td align="left">
				<select size="1" name="dname">
					<option>&nbsp;&nbsp;전체 목록&nbsp;&nbsp;</option>
						<s:iterator value="dlist">
					<option value="${dname }">${dname }</option>
						</s:iterator>
				</select>&nbsp;
			<s:a theme="ajax" targets="center1" formId="SawonDeptList" showLoadingText="false">
			<img src="/ssteam/image/admin/go.gif" height="20" border="0"> 
			</s:a>
<!-- 				-->
				
				<!-- 
				<img src="/ssteam/image/admin/zai1.gif" border="0"
				onMouseOut='javascript:this.src="/ssteam/image/admin/zai1.gif"
            	'onMouseOver='javascript:this.src="/ssteam/image/admin/zai2.gif"'>
				<img src="/ssteam/image/admin/tui1.gif" border="0" 
				onMouseOut='javascript:this.src="/ssteam/image/admin/tui1.gif"
	            'onMouseOver='javascript:this.src="/ssteam/image/admin/tui2.gif"'>
             -->
	</table>
	</form>
	
	<table border=0 width=700 style="border-top: #5b8cd9 2pt solid;">
		<tr class="sub">
			<th align="right" colspan="2">
				직원정보
			<th>
				등록일
			<th>
				
				수정
			<s:iterator value="list">
		<tr class="content"  onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''">
			<td align=left width=90>
				<font color=#999999>${dname }</font>
			<td align=left width=120>
				&nbsp;${jname }&nbsp;${name }
			<td width=400> 
				<fmt:formatDate value="${regdate }" pattern="yyyy/MM/dd   HH:mm:ss"/>
			<td align=center width=90>
				<s:a href="/ssteam/admin/sawonupdate.do?sabun=%{#request['sabun']}
				&dname=%{#request['dname']}" theme="ajax" targets="center1">
				수정
				</s:a>
			</s:iterator>
		<!-- 		
		<tr class="content"  onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''">
			<td align="left" >
				<font color=#999999>관리</font>&nbsp;이사&nbsp;${name } <font color=#999999>(skdmsgkr)</font>
			<td> 2011.12.26&nbsp;09:00:01
			<td> 수정
		<tr class="content"  onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''">
			<td align="left">
				<font color=#999999>관리</font>&nbsp;이사&nbsp;나은학 <font color=#999999>(skdmsgkr)</font>
			<td> 2011.12.26&nbsp;09:00:01
			<td> 수정
		<tr class="content"  onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''">
			<td align="left">
				<font color=#999999>관리</font>&nbsp;이사&nbsp;나은학 <font color=#999999>(skdmsgkr)</font>
			<td> 2011.12.26&nbsp;09:00:01
			<td> 수정
		 -->
		<tr>
			<td colspan="3">
		<hr color="#ededed">
	</table>
	<div style="position: fixed;top: 500px; left: 380px">
	<table border=0 width="700">
		<tr>
			<td align=right>
				<s:a href="/ssteam/admin/sawoninsert.do" targets="center1" theme="ajax">
				<img src="/ssteam/image/admin/sign1.gif" border=0
				onMouseOut='javascript:this.src="/ssteam/image/admin/sign1.gif"
            'onMouseOver='javascript:this.src="/ssteam/image/admin/sign2.gif"'>
            </s:a>
	</table>
	
	<form action="/ssteam/admin/sawonSerch.do" method="post" id="serch">
	<table border=0 width=700>
		<tr>
			<td colspan=5>
				<font style="font-size: 13px">
				${curpage } page&nbsp;/ ${totalpage }pages
				</font>
				<br>
				
				<s:url action="sawonmanager" namespace="/admin" id="prevPageURL">
					<s:param name="page">${curpage>1 ? curpage-1:curpage }</s:param>					
				</s:url>
				<s:url action="sawonmanager" namespace="/admin" id="nextPageURL">
					<s:param name="page">${curpage<totalpage ? curpage+1: curpage}</s:param>					
				</s:url>
				
				<s:a href="%{prevPageURL}" theme="ajax" targets="center1" loadingText="  ">
					<font style="font-size: 12px">이전</font>
					</s:a> &nbsp;
				<s:a href="%{nextPageURL}" theme="ajax" targets="center1" loadingText="  ">
					<font style="font-size: 12px">다음</font>
				</s:a>
				
				
				
				<br>
		<tr class="content">
			<td>
				이름검색
				<input type=text size=15 name="name">
				<s:a theme="ajax" targets="center1" formId="serch" showLoadingText="false">
				<img src="/ssteam/image/admin/go.gif" height="20" border="0">
				</s:a>
		<tr>
			<td>
	</table>
	</form>
				</div>
	
</center>
</body>
</html>